package com.xcx.bo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DouyinCollectExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public DouyinCollectExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCollectNoIsNull() {
            addCriterion("collect_no is null");
            return (Criteria) this;
        }

        public Criteria andCollectNoIsNotNull() {
            addCriterion("collect_no is not null");
            return (Criteria) this;
        }

        public Criteria andCollectNoEqualTo(String value) {
            addCriterion("collect_no =", value, "collectNo");
            return (Criteria) this;
        }

        public Criteria andCollectNoNotEqualTo(String value) {
            addCriterion("collect_no <>", value, "collectNo");
            return (Criteria) this;
        }

        public Criteria andCollectNoGreaterThan(String value) {
            addCriterion("collect_no >", value, "collectNo");
            return (Criteria) this;
        }

        public Criteria andCollectNoGreaterThanOrEqualTo(String value) {
            addCriterion("collect_no >=", value, "collectNo");
            return (Criteria) this;
        }

        public Criteria andCollectNoLessThan(String value) {
            addCriterion("collect_no <", value, "collectNo");
            return (Criteria) this;
        }

        public Criteria andCollectNoLessThanOrEqualTo(String value) {
            addCriterion("collect_no <=", value, "collectNo");
            return (Criteria) this;
        }

        public Criteria andCollectNoLike(String value) {
            addCriterion("collect_no like", value, "collectNo");
            return (Criteria) this;
        }

        public Criteria andCollectNoNotLike(String value) {
            addCriterion("collect_no not like", value, "collectNo");
            return (Criteria) this;
        }

        public Criteria andCollectNoIn(List<String> values) {
            addCriterion("collect_no in", values, "collectNo");
            return (Criteria) this;
        }

        public Criteria andCollectNoNotIn(List<String> values) {
            addCriterion("collect_no not in", values, "collectNo");
            return (Criteria) this;
        }

        public Criteria andCollectNoBetween(String value1, String value2) {
            addCriterion("collect_no between", value1, value2, "collectNo");
            return (Criteria) this;
        }

        public Criteria andCollectNoNotBetween(String value1, String value2) {
            addCriterion("collect_no not between", value1, value2, "collectNo");
            return (Criteria) this;
        }

        public Criteria andUserNoIsNull() {
            addCriterion("user_no is null");
            return (Criteria) this;
        }

        public Criteria andUserNoIsNotNull() {
            addCriterion("user_no is not null");
            return (Criteria) this;
        }

        public Criteria andUserNoEqualTo(String value) {
            addCriterion("user_no =", value, "userNo");
            return (Criteria) this;
        }

        public Criteria andUserNoNotEqualTo(String value) {
            addCriterion("user_no <>", value, "userNo");
            return (Criteria) this;
        }

        public Criteria andUserNoGreaterThan(String value) {
            addCriterion("user_no >", value, "userNo");
            return (Criteria) this;
        }

        public Criteria andUserNoGreaterThanOrEqualTo(String value) {
            addCriterion("user_no >=", value, "userNo");
            return (Criteria) this;
        }

        public Criteria andUserNoLessThan(String value) {
            addCriterion("user_no <", value, "userNo");
            return (Criteria) this;
        }

        public Criteria andUserNoLessThanOrEqualTo(String value) {
            addCriterion("user_no <=", value, "userNo");
            return (Criteria) this;
        }

        public Criteria andUserNoLike(String value) {
            addCriterion("user_no like", value, "userNo");
            return (Criteria) this;
        }

        public Criteria andUserNoNotLike(String value) {
            addCriterion("user_no not like", value, "userNo");
            return (Criteria) this;
        }

        public Criteria andUserNoIn(List<String> values) {
            addCriterion("user_no in", values, "userNo");
            return (Criteria) this;
        }

        public Criteria andUserNoNotIn(List<String> values) {
            addCriterion("user_no not in", values, "userNo");
            return (Criteria) this;
        }

        public Criteria andUserNoBetween(String value1, String value2) {
            addCriterion("user_no between", value1, value2, "userNo");
            return (Criteria) this;
        }

        public Criteria andUserNoNotBetween(String value1, String value2) {
            addCriterion("user_no not between", value1, value2, "userNo");
            return (Criteria) this;
        }

        public Criteria andDouyinUserNoIsNull() {
            addCriterion("douyin_user_no is null");
            return (Criteria) this;
        }

        public Criteria andDouyinUserNoIsNotNull() {
            addCriterion("douyin_user_no is not null");
            return (Criteria) this;
        }

        public Criteria andDouyinUserNoEqualTo(String value) {
            addCriterion("douyin_user_no =", value, "douyinUserNo");
            return (Criteria) this;
        }

        public Criteria andDouyinUserNoNotEqualTo(String value) {
            addCriterion("douyin_user_no <>", value, "douyinUserNo");
            return (Criteria) this;
        }

        public Criteria andDouyinUserNoGreaterThan(String value) {
            addCriterion("douyin_user_no >", value, "douyinUserNo");
            return (Criteria) this;
        }

        public Criteria andDouyinUserNoGreaterThanOrEqualTo(String value) {
            addCriterion("douyin_user_no >=", value, "douyinUserNo");
            return (Criteria) this;
        }

        public Criteria andDouyinUserNoLessThan(String value) {
            addCriterion("douyin_user_no <", value, "douyinUserNo");
            return (Criteria) this;
        }

        public Criteria andDouyinUserNoLessThanOrEqualTo(String value) {
            addCriterion("douyin_user_no <=", value, "douyinUserNo");
            return (Criteria) this;
        }

        public Criteria andDouyinUserNoLike(String value) {
            addCriterion("douyin_user_no like", value, "douyinUserNo");
            return (Criteria) this;
        }

        public Criteria andDouyinUserNoNotLike(String value) {
            addCriterion("douyin_user_no not like", value, "douyinUserNo");
            return (Criteria) this;
        }

        public Criteria andDouyinUserNoIn(List<String> values) {
            addCriterion("douyin_user_no in", values, "douyinUserNo");
            return (Criteria) this;
        }

        public Criteria andDouyinUserNoNotIn(List<String> values) {
            addCriterion("douyin_user_no not in", values, "douyinUserNo");
            return (Criteria) this;
        }

        public Criteria andDouyinUserNoBetween(String value1, String value2) {
            addCriterion("douyin_user_no between", value1, value2, "douyinUserNo");
            return (Criteria) this;
        }

        public Criteria andDouyinUserNoNotBetween(String value1, String value2) {
            addCriterion("douyin_user_no not between", value1, value2, "douyinUserNo");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNull() {
            addCriterion("remarks is null");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNotNull() {
            addCriterion("remarks is not null");
            return (Criteria) this;
        }

        public Criteria andRemarksEqualTo(String value) {
            addCriterion("remarks =", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotEqualTo(String value) {
            addCriterion("remarks <>", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThan(String value) {
            addCriterion("remarks >", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(String value) {
            addCriterion("remarks >=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThan(String value) {
            addCriterion("remarks <", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThanOrEqualTo(String value) {
            addCriterion("remarks <=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLike(String value) {
            addCriterion("remarks like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotLike(String value) {
            addCriterion("remarks not like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksIn(List<String> values) {
            addCriterion("remarks in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotIn(List<String> values) {
            addCriterion("remarks not in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksBetween(String value1, String value2) {
            addCriterion("remarks between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotBetween(String value1, String value2) {
            addCriterion("remarks not between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andCollectedTimeIsNull() {
            addCriterion("collected_time is null");
            return (Criteria) this;
        }

        public Criteria andCollectedTimeIsNotNull() {
            addCriterion("collected_time is not null");
            return (Criteria) this;
        }

        public Criteria andCollectedTimeEqualTo(Date value) {
            addCriterion("collected_time =", value, "collectedTime");
            return (Criteria) this;
        }

        public Criteria andCollectedTimeNotEqualTo(Date value) {
            addCriterion("collected_time <>", value, "collectedTime");
            return (Criteria) this;
        }

        public Criteria andCollectedTimeGreaterThan(Date value) {
            addCriterion("collected_time >", value, "collectedTime");
            return (Criteria) this;
        }

        public Criteria andCollectedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("collected_time >=", value, "collectedTime");
            return (Criteria) this;
        }

        public Criteria andCollectedTimeLessThan(Date value) {
            addCriterion("collected_time <", value, "collectedTime");
            return (Criteria) this;
        }

        public Criteria andCollectedTimeLessThanOrEqualTo(Date value) {
            addCriterion("collected_time <=", value, "collectedTime");
            return (Criteria) this;
        }

        public Criteria andCollectedTimeIn(List<Date> values) {
            addCriterion("collected_time in", values, "collectedTime");
            return (Criteria) this;
        }

        public Criteria andCollectedTimeNotIn(List<Date> values) {
            addCriterion("collected_time not in", values, "collectedTime");
            return (Criteria) this;
        }

        public Criteria andCollectedTimeBetween(Date value1, Date value2) {
            addCriterion("collected_time between", value1, value2, "collectedTime");
            return (Criteria) this;
        }

        public Criteria andCollectedTimeNotBetween(Date value1, Date value2) {
            addCriterion("collected_time not between", value1, value2, "collectedTime");
            return (Criteria) this;
        }

        public Criteria andCollectStatusIsNull() {
            addCriterion("collect_status is null");
            return (Criteria) this;
        }

        public Criteria andCollectStatusIsNotNull() {
            addCriterion("collect_status is not null");
            return (Criteria) this;
        }

        public Criteria andCollectStatusEqualTo(String value) {
            addCriterion("collect_status =", value, "collectStatus");
            return (Criteria) this;
        }

        public Criteria andCollectStatusNotEqualTo(String value) {
            addCriterion("collect_status <>", value, "collectStatus");
            return (Criteria) this;
        }

        public Criteria andCollectStatusGreaterThan(String value) {
            addCriterion("collect_status >", value, "collectStatus");
            return (Criteria) this;
        }

        public Criteria andCollectStatusGreaterThanOrEqualTo(String value) {
            addCriterion("collect_status >=", value, "collectStatus");
            return (Criteria) this;
        }

        public Criteria andCollectStatusLessThan(String value) {
            addCriterion("collect_status <", value, "collectStatus");
            return (Criteria) this;
        }

        public Criteria andCollectStatusLessThanOrEqualTo(String value) {
            addCriterion("collect_status <=", value, "collectStatus");
            return (Criteria) this;
        }

        public Criteria andCollectStatusLike(String value) {
            addCriterion("collect_status like", value, "collectStatus");
            return (Criteria) this;
        }

        public Criteria andCollectStatusNotLike(String value) {
            addCriterion("collect_status not like", value, "collectStatus");
            return (Criteria) this;
        }

        public Criteria andCollectStatusIn(List<String> values) {
            addCriterion("collect_status in", values, "collectStatus");
            return (Criteria) this;
        }

        public Criteria andCollectStatusNotIn(List<String> values) {
            addCriterion("collect_status not in", values, "collectStatus");
            return (Criteria) this;
        }

        public Criteria andCollectStatusBetween(String value1, String value2) {
            addCriterion("collect_status between", value1, value2, "collectStatus");
            return (Criteria) this;
        }

        public Criteria andCollectStatusNotBetween(String value1, String value2) {
            addCriterion("collect_status not between", value1, value2, "collectStatus");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeIsNull() {
            addCriterion("updated_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeIsNotNull() {
            addCriterion("updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeEqualTo(Date value) {
            addCriterion("updated_time =", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeNotEqualTo(Date value) {
            addCriterion("updated_time <>", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeGreaterThan(Date value) {
            addCriterion("updated_time >", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updated_time >=", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeLessThan(Date value) {
            addCriterion("updated_time <", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("updated_time <=", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeIn(List<Date> values) {
            addCriterion("updated_time in", values, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeNotIn(List<Date> values) {
            addCriterion("updated_time not in", values, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("updated_time between", value1, value2, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("updated_time not between", value1, value2, "updatedTime");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}